<%--
  外部JS、CSS引用
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%--版本号--%>
<%
	String _version = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
	 /*String _version ="2016081101";*/
%>

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet"
	href="<c:url value="/content/css/reset.css"/>?v=<%=_version%>">
<link type="text/css" rel="stylesheet"
	href="<c:url value="/content/css/common.css"/>?v=<%=_version%>">

<script>
	var _reqConfig = {
	    debug: true,
	    version:<%=_version%>
	};
	(function() {
		if (window["cssFileLoadArr"]) {
			var pathName = window.location.pathname;
			var projectName = pathName.substring(0, pathName.substr(1).indexOf('/') + 1);
			for (var i = 0, len = window["cssFileLoadArr"].length; i < len; i++) {
				var el = document.createElement("link");
				el.type = "text/css";
				el.rel = "stylesheet";
				el.href = projectName
						+ window["cssFileLoadArr"][i]
						+ ('?v=' + <%=_version%>);
				document.getElementsByTagName('head')[0].appendChild(el);
			}
		}
	})();
</script>

<script type="text/javascript"
	src="<c:url value="/content/js/lib/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/content/js/common.js"/>?v=<%=_version%>"></script>
<script type="text/javascript"
		src="<c:url value="/content/js/lib/util.js"/>?v=<%=_version%>"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="<c:url value="/content/js/lib/html5shiv.min.js"/>"></script>
<![endif]-->
<script type="text/javascript"
	src="<c:url value="/content/js/lib/require.min.js"/>"
	data-main="<c:url value="/content/js/lib/app.js"/>?v=<%=_version%>"></script>
